package com.cmwa.solution.business.register.service;

import java.util.List;

import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.register.entity.ClearRecordVo;

/**
 * @author ex-wuh2
 *	销售数据管理业务层
 */
public interface SalesDataManageService {
	
	/**
	 * 	查询清算流程状态详情
	 * @return
	 */
	public List<ClearRecordVo> queryClearRecordList(String serialNo);
	
	/**
	 * 	查询文件接收及 导出状态
	 * @return
	 */
	public List<ClearRecordVo> queryFileInfoList(String serialNo ,String clearStep);
	
	/**
	 * 	查询个步骤完成时间
	 * @param serialNo
	 * @return
	 */
	public ClearRecordVo querySuccessTime(String serialNo);
	
	/**
	 * 	清空
	 */
	public void truncateData();
	
	/**
	 * 	批量写入记录表
	 * @param list
	 */
	public void batchInsertRecordVo(List<ClearRecordVo> list);
	
	/**
	 * 	获取主键
	 * @return
	 */
	public String getSequence();
	
	/**
	 * 	查询清算异常记录
	 * @param sp
	 * @return
	 */
	public ClearRecordVo queryClearExceptionRecord(SearchParam sp);
	
	public List<ClearRecordVo> queryExceptionList(SearchParam sp);
}
